import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vue3Lazy from 'vue3-lazy'
import '@/assets/scss/index.scss'
import loadingDirective from '@/components/base/loading/useLoadingHooks'
import noResultDirective from '@/components/base/no-result/useNoResultHooks'

createApp(App).use(store).use(router).use(vue3Lazy, {
    loading: require('@/assets/images/default.png')
}).directive('loading', loadingDirective).directive('no-result', noResultDirective).mount('#app')
